package ar.uade.edu.fain.ad.server.business;

import ar.uade.edu.fain.ad.common.transfer.LoginVO;
import ar.uade.edu.fain.ad.common.transfer.LoginVO.Rol;

public class Cajero extends Empleado {
	
	public Cajero() {
		super();
	}

	@Override
	public LoginVO createLoginVO() {
		final LoginVO loginVO = new LoginVO();
		loginVO.setEmpleadoVO(toVO());
		loginVO.setAreaId(getArea().getId());
		loginVO.setLocalId(getArea().getLocal().getId());
		loginVO.setRol(Rol.CAJERO);
		return loginVO;
	}
}
